package com.heiye.auth.service;

import com.heiye.auth.model.dto.user.UserLoginRspDTO;
import com.heiye.auth.model.vo.user.UserLoginReqVO;
import com.heiye.framework.common.response.Response;

/**
 * @author: heiye
 * @date: 2024/09/23 下午3:30
 * @version: v1.0.0
 * @description: 用户校验Service
 */
public interface UserService {
    /**
     * 登录校验
     *
     * @param dto
     * @return
     */
    Response<UserLoginRspDTO> loginAndRegister(UserLoginReqVO dto);

    /**
     *
     * @return
     */
    Response<?> logout();
}
